<template>
    <div v-if="!show" class="load">
        <img src="/libs/imgs/before.gif" class="before" />
    </div>
</template>
<script>
export default {
  props: ['show']
}
</script>
<style lang="scss" scoped>
.load{
    width:100%;
    height:640px;
    background:#fff;
}
.before{
    width:200%;
    position:fixed;
    transform:translate(-50%,-50%);
    left: 50%;
    top: 50%;
}
</style>
